package day01;

import java.util.Arrays;

public class TestStudent {
    private int num = 1;
    private String name;

    public TestStudent() {
    }
    public TestStudent(int num, String name) {
        this.num = num;
        this.name = name;
        System.out.println("num = " + num + ", name = " + name);
    }

    public int getNum() {
        return num;
    }
}

class SonTest extends TestStudent {
    public SonTest () {

    }
    public SonTest(int num, String name) {
        // super(num, name);
    }

    public static void main(String[] args) {
        SonTest st1 = new SonTest();
        System.out.println(st1.getNum());
    }
}